package com.study.system.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.study.system.model.entity.SysUser;
import com.study.system.model.form.UserForm;
import com.study.system.model.dto.UserAuthInfo;
import com.study.system.model.query.UserPageQuery;
import com.study.system.model.vo.UserExportVO;
import com.study.system.model.vo.UserInfoVO;
import com.study.system.model.vo.UserPageVO;

import java.util.List;


public interface SysUserService extends IService<SysUser> {

    
    IPage<UserPageVO> getUserPage(UserPageQuery queryParams);


    
    UserForm getUserFormData(Long userId);


    
    boolean saveUser(UserForm userForm);

    
    boolean updateUser(Long userId, UserForm userForm);


    
    boolean deleteUsers(String idsStr);


    
    boolean updatePassword(Long userId, String password);

    

    UserAuthInfo getUserAuthInfo(String username);


    
    List<UserExportVO> listExportUsers(UserPageQuery queryParams);


    
    UserInfoVO getUserLoginInfo();
}
